Stinga sgVersionInfo | |
Properties |
Path As String
Returns or sets modules full file path. Changing Path property automaticaly updates Language and Codepage values.
InfoExist As Boolean
Returns True if file object contain valid version info, i.e. file specified in Path property is successfully opened.
LanguageName As String
Returns a description string for the language associated with current version data
Language As Integer
Returns or sets language for which version data is retrived. This property is standard language identifier. For a list of language identifiers click here. Changing Path property automaticaly updates Language property.
Codepage As Integer
Returns or sets character set for which version data is retrived. This property is standard codepage identifier and list of codepage identifiers. Changing Path property automaticaly updates Codepage property.
FileVersionHigh As Long
Returns the most significant 32 bits of the file's binary version number. This number is used with FileVersionLow to form a 64-bit value used for numeric comparisons.
FileVersionLow As Long
Returns the least significant 32 bits of the file's binary version number. This number is used with FileVersionHigh to form a 64-bit value used for numeric comparisons.
ProductVersionHigh As Long
Returns the most significant 32 bits of the binary version number of the product with which this file was distributed. This number is used with ProductVersionLow to form a 64-bit value used for numeric comparisons
ProductVersionLow As Long
Returns the least significant 32 bits of the binary version number of the product with which this file was distributed. This number is used with ProductVersionHigh to form a 64-bit value used for numeric comparisons
FileFlagsMask As Long
Contains a bitmask that specifies the valid bits in FileFlags property. For a list of valid flags look at FileFlags property documenatation.
FileFlags As Long
Contains a bitmask that specifies the Boolean attributes of the file. This member can include one or more of the following values:
Flag
Value
Description
sgVS_FF_DEBUG 1 The file contains debugging information or is compiled with debugging features enabled. sgVS_FF_INFOINFERRED 2 The file's version structure was created dynamically; therefore, some of the members in this structure may be empty or incorrect. sgVS_FF_PATCHED 4 The file has been modified and is not identical to the original shipping file of the same version number. sgVS_FF_PRERELEASE 8 The file is a development version, not a commercially released product. sgVS_FF_PRIVATEBUILD 16 The file was not built using standard release procedures. sgVS_FF_SPECIALBUILD 32 The file was built by the original company using standard release procedures but is a variation of the normal file of the same version number.
FileOS As Long
Specifies the operating system for which this file was designed. This member can be one of the following values:
Flag
Value
Description
sgVOS_DOS 65536 The file was designed for MS-DOS. sgVOS_OS216 131072 The file was designed for 16-bit OS/2. sgVOS_OS232 196608 The file was designed for 32-bit OS/2. sgVOS_NT 262144 The file was designed for Windows NT. sgVOS__WINDOWS16 1 The file was designed for 16-bit Windows. sgVOS__PM16 2 The file was designed for 16-bit Presentation Manager. sgVOS__PM32 3 The file was designed for 32-bit Presentation Manager. sgVOS__WINDOWS32 4 The file was designed for the Win32 API. sgVOS_UNKNOWN 0 The operating system for which the file was designed is unknown to Windows. An application can combine these values to indicate that the file was designed for one operating system running on another.
FileOSString As String
Returns text presentation of the operating system for which this file was designed. This property can have one of these values
FileType As Long
Returns the general type of file. Can be one the folowing values:
Flag
Value
Description
sgVFT_UNKNOWN
0
The file type is unknown to Windows.
sgVFT_APP
1
The file contains an application.
sgVFT_DLL
2
The file contains a dynamic-link library (DLL).
sgVFT_DRV
3
The file contains a device driver. FileSubtype contains a more specific description of the driver.
sgVFT_FONT
4
The file contains a font. FileSubtype contains a more specific description of the font file.
sgVFT_VXD
5
The file contains a virtual device.
sgVFT_STATIC_LIB
7
The file contains a static-link library.
FileSubtype As Long
Returns the function of the file. The possible values depend on the value of FileType property. For all values of FileType not described in the following list, value of the FileSubtype property is zero.
If FileType is sgVFT_DRV, FileSubtype can be: Flag
Value
Description
sgVFT2_UNKNOWN 0 The driver type is unknown by Windows. sgVFT2_DRV_PRINTER 1 The file contains a printer driver. sgVFT2_DRV_KEYBOARD 2 The file contains a keyboard driver. sgVFT2_DRV_LANGUAGE 3 The file contains a language driver. sgVFT2_DRV_DISPLAY 4 The file contains a display driver. sgVFT2_DRV_MOUSE 5 The file contains a mouse driver. sgVFT2_DRV_NETWORK 6 The file contains a network driver. sgVFT2_DRV_SYSTEM 7 The file contains a system driver. sgVFT2_DRV_INSTALLABLE 8 The file contains an installable driver. sgVFT2_DRV_SOUND 9 The file contains a sound driver. sgVFT2_DRV_COMM 10 The file contains a communications driver.
If FileType is sgVFT_FONT, FileSubtype can be: Flag Value Description
sgVFT2_UNKNOWN 0 The font type is unknown by Windows. sgVFT2_FONT_RASTER 1 The file contains a raster font. sgVFT2_FONT_VECTOR 2 The file contains a vector font. sgVFT2_FONT_TRUETYPE 3 The file contains a TrueType font.
FileDate As Date
Returns the file's creation date and time stamp
Comments As String
Contains any additional information that should be displayed for diagnostic purposes. This string can be an arbitrary length.
CompanyName As String
Returns name of the company that produced the file
FileDescription As String
Describes the file in such a way that it can be presented to users. This string may be presented in a list box when the user is choosing files to install. For example, "Stinga VersionInfo Object".
FileVersion As String
Returns the version number of the file.
InternalName As String
Returns the internal name of the file.
LegalCopyright As String
Describes all copyright notices, trademarks, and registered trademarks that apply to the file.
LegalTrademarks As String
Describes all trademarks and registered trademarks that apply to the file
OriginalFilename As String
Identifies the original name of the file, not including a path. This enables an application to determine whether a file has been renamed by a user.
PrivateBuild As String
Describes by whom, where, and why this private version of the file was built. This string should only be present if the VS_FF_PRIVATEBUILD flag is set in the FileFlags property.
ProductName As String
Identifies the name of the product with which this file is distributed.
ProductVersion As String
Identifies the version of the product with which the file is distributed
SpecialBuild As String
Describes how this version of the file differs from the normal version. This entry should only be present if the VS_FF_SPECIALBUILD flag is set in the FileFlags property.